package com.example.dbsample.config.business;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
@Data
public class BaseSwitchConfig {
    @Value("${enable.send.logmsg:true}")
    private boolean enableSendLogMsg;

    @Value("${enable.http.connection.clear:true}")
    private boolean enableHttpConnectionClear;

    @Value("${enable.http.connection.check:true}")
    private boolean enableHttpConnectionCheck;

    @Value("${enable.radom.workId:true}")
    private boolean enableRadomWorkId;

    @Value("${enable.service.connect.count:true}")
    private boolean enableServiceConnectionCount;

    @Value("${enable.consumerlog:true}")
    private boolean enableConsumelogMsg;

    @Value("${enable.cache.control:true}")
    private boolean enableCacheControl;

    @Value("${enable.async.service.connect.count:true}")
    private boolean enableAsyncServiceConnectionCount;

    @Value("${enable.http.service.connect.clear:true}")
    private boolean enableHttpServiceConnectClear;

    @Value("${enable.converto.http.retryable:true}")
    private boolean enableConvertoHttpRetryable;

}
